FileCache.getTileFinish

Gets the tile data from a completed shumate_file_cache_get_tile_async() operation.

@modtime will be set to the time the tile was added to the cache, or the latest time it was confirmed to be up to date.

@etag will be set to the data's ETag, if present.

class FileCache
getTileFinish

Parameters

etag string

a location for the data's ETag, or %NULL

modtime DateTime

a location to return the tile's last modification time, or %NULL

result AsyncResultIF

a #GAsyncResult provided to callback

Return Value

Type: Bytes

a #GBytes containing the tile data, or %NULL if the tile was not in the cache or an error occurred

Throws

GException on failure.

Meta